﻿ using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.Unity;
using Infrastructure.Aspect.Services.Traslator;
using System.ServiceModel.Activation;
using System.ServiceModel;

namespace Skynet.ServiceImplementation
{

    [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
    public class SkynetLibraryTransactionService : ServiceContracts.ISkynetLibraryTransactionService
    {
        [Dependency]
        public BusinessLogic.BusinessComponents.IBCCustomers BCCustomers { get; set; }

        
        [OperationBehavior(TransactionScopeRequired= true)]
        public void MaintenanceCustomer(BusinessEntities.Customer Customer)
        {            
            this.BCCustomers.MaintenanceCustomers(Customer);            
        }
    }
}
